package com.fyl.pattern.factory.simple_factory;



/**
 * 咖啡商店
 */
public class CoffeeStore {

    public Coffee orderCoffee(String type){
        SimpleCoffeeFactory factory = new SimpleCoffeeFactory();
        Coffee coffee = factory.CreateCoffee(type);
        return coffee;
    }
}
